package org.jeecg.modules.mes.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 薪资计算结果VO
 * @Author: jeecg-boot
 * @Date: 2025-09-03
 * @Version: V1.0
 */
@Data
@ApiModel(value="SalaryCalculationResult", description="薪资计算结果")
public class MesSalaryCalculationVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "任务ID")
    private String taskId;

    @ApiModelProperty(value = "参与者ID")
    private String participantId;

    @ApiModelProperty(value = "员工ID")
    private String employeeId;

    @ApiModelProperty(value = "员工姓名")
    private String employeeName;

    @ApiModelProperty(value = "员工编号")
    private String employeeNo;

    @ApiModelProperty(value = "工种ID")
    private String workTypeId;

    @ApiModelProperty(value = "工种名称")
    private String workTypeName;

    @ApiModelProperty(value = "计算日期")
    private Date calculationDate;

    @ApiModelProperty(value = "完成数量")
    private Integer completedQuantity;

    @ApiModelProperty(value = "基础单价")
    private BigDecimal baseRate;

    @ApiModelProperty(value = "计件薪资")
    private BigDecimal pieceSalary;

    @ApiModelProperty(value = "协作类型(0-独立完成,1-协作完成,2-分段完成)")
    private Integer collaborationType;

    @ApiModelProperty(value = "计算状态(success-成功,failed-失败)")
    private String calculationStatus;

    @ApiModelProperty(value = "错误信息")
    private String errorMessage;

    private BigDecimal CalculatedSalary;
}
